#ifndef NETWORK_H
#define NETWORK_H

#include<list>



using namespace std;

struct Node{
	int id, x, y, processing;
	char type;
	int target_node;
	bool used;
};

struct Edge{
	int bandwidth;
	int gama;
	int from, to;
	list<int> *sn_path;
};

class Network{
	public:
		Network( const char* );
		Network( int, int, int );
		~Network();
		
		struct Node* getNodeList();
		Edge*** getGraph();
		int getNumberOfNodes();
		int getNumberOfEdges();
		
	protected:
		
		
		int m; //number of nodes 
		int n; //number of edges
		int prize; 
		
		Edge*** graph;
		struct Node* nodes;
};

#include "network.cpp"

#endif